<html>
<head>
    <link type="text/css" href="<?php echo base_url()?>css/styles.css" rel="stylesheet" />
    <link type="text/css" href="<?php echo base_url()?>css/jquery-ui.css" rel="stylesheet" />
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="<?php echo base_url()?>js/jquery.js"></script>
    <script type="text/javascript" src="<?php echo base_url()?>js/jquery-ui.js"></script>
    <script type="text/javascript" src="<?php echo base_url()?>js/main.js"></script>
</head>
<body>
<div id="wrapper">
<div id="wrapper3">
	<div id="onecolumn">
		<div id="kotakphoto8"><div class="titleprofile">Add Place</div><div class="backto"><?php echo anchor('place/add_map_place_coord','Add place from coordinates')?></div></div>
		<div id="map_canvas_add"></div>
		<div class="menuplace3">
			<?php echo form_open_multipart('place/save');?>
			<div class="label">Nama :</div><textarea name="name" class="content1"></textarea>
			<div class="label">Deskripsi :</div><textarea name="description" class="content2"></textarea>
			<div class="label">Alamat :</div><textarea id="address"  name="street"></textarea>
			<input id="latitude" type="hidden" name="latitude"/>
			<input id="longitude" type="hidden" name="longitude"/>
			<div class="label">Photo</div>
			<div id="divinputfile"> 
				<input name="userfile" type="file" size="30" id="userfile" onchange="this.form.fakefilepc.value = this.value;"/>
				<div id="fakeinputfile">
					<input name="fakefilepc" type="text" id="fakefilepc" />
				</div>
			</div>
			<div class="clear"></div>
			<div id="latar">
			<input type="submit" value="Create" class="savebutton">
			</div>
			</form>
		</div>
		<div id="tipsaddmap">
		Tips : Search alamat dengan mengetikkan nama alamat terdekat.
		</div>
		<?php echo $this->session->flashdata('error');  
		?>
	</div>
</div>
</div>
</body>
</html>